import axios from "@/request";

export function getSysconfigApi() {
  return axios.get("/admin/sysconfig");
}

export function setSysconfigApi(data) {
  return axios.post(`/admin/sysconfig`, data);
}

export const uploadAction = import.meta.env.VITE_APP_BASE_API + '/admin/sysconfig/upload'